package cn.kgc.vue.shiro;

import org.apache.shiro.authc.AuthenticationToken;

/***
 *@title JwtToken
 *@author 韩旭
 *@version 1.0.0
 *@create 2023/8/10 14:32
 **/
public class JwtToken implements AuthenticationToken {

    public String token;

    public JwtToken(String token){
        this.token=token;
    }

    public String getToken() {
        return token;
    }

    @Override
    public Object getPrincipal() {
        return token;
    }

    @Override
    public Object getCredentials() {
        return token;
    }
}
